package com.ruoyi.pack.domain.dto;

/**
 * 操作结果DTO
 * 
 * @author ruoyi
 */
public class OperationResultDto
{
    /** 操作类型（create-新增 update-修改 delete-删除） */
    private String operationType;

    /** 操作是否成功 */
    private Boolean success;

    /** 项目物料ID */
    private Long projectMaterialId;

    /** 项目仓库权限ID */
    private Long projectWarehouseId;

    /** 物料编码 */
    private String materialCode;

    /** 仓库ID */
    private Long warehouseId;

    /** 操作结果消息 */
    private String message;

    public OperationResultDto()
    {
    }

    public OperationResultDto(String operationType, Boolean success, String message)
    {
        this.operationType = operationType;
        this.success = success;
        this.message = message;
    }

    public String getOperationType()
    {
        return operationType;
    }

    public void setOperationType(String operationType)
    {
        this.operationType = operationType;
    }

    public Boolean getSuccess()
    {
        return success;
    }

    public void setSuccess(Boolean success)
    {
        this.success = success;
    }

    public Long getProjectMaterialId()
    {
        return projectMaterialId;
    }

    public void setProjectMaterialId(Long projectMaterialId)
    {
        this.projectMaterialId = projectMaterialId;
    }

    public Long getProjectWarehouseId()
    {
        return projectWarehouseId;
    }

    public void setProjectWarehouseId(Long projectWarehouseId)
    {
        this.projectWarehouseId = projectWarehouseId;
    }

    public String getMaterialCode()
    {
        return materialCode;
    }

    public void setMaterialCode(String materialCode)
    {
        this.materialCode = materialCode;
    }

    public Long getWarehouseId()
    {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }
} 